package com.wx.nchu_mall.model;


import java.util.Date;

public class Commodity {
    private Integer commId;         //商品编码
    private Integer commTypeId;     //商品分类编码
    private String commName;        //商品名称
    private float commPrice;        //商品价格
    private String commImage;       //商品图片
    private int   commStatus;       //商品状态
    private Date  createTime;       //创建日期
    private Date  updateTime;        //更新日期
    private String commPress;       //商品产地
    private Integer commTotal;      //商品库存
    private String flag;            //1 表示生效  2 删除
    private Integer  quantity;            //商品数量

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getFlag() {
        return flag;
    }
    public void setFlag(String flag) {
        this.flag = flag;
    }
    public Integer getCommId() {
        return commId;
    }

    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public Integer getCommTypeId() {
        return commTypeId;
    }

    public void setCommTypeId(Integer commTypeId) {
        this.commTypeId = commTypeId;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public float getCommPrice() {
        return commPrice;
    }

    public void setCommPrice(float commPrice) {
        this.commPrice = commPrice;
    }

    public String getCommImage() {
        return commImage;
    }

    public void setCommImage(String commImage) {
        this.commImage = commImage;
    }

    public int getCommStatus() {
        return commStatus;
    }

    public void setCommStatus(int commStatus) {
        this.commStatus = commStatus;
    }



    public String getCommPress() {
        return commPress;
    }

    public void setCommPress(String commPress) {
        this.commPress = commPress;
    }

    public Integer getCommTotal() {
        return commTotal;
    }

    public void setCommTotal(Integer commTotal) {
        this.commTotal = commTotal;
    }
}
